from django.http.response import JsonResponse

def FlyResponse(code=0,msg="操作成功",**kwargs):
    data = {"code":code,"msg":msg}
    data.update(kwargs)
    return JsonResponse(data,json_dumps_params={"ensure_ascii":False})
